import 'amfe-flexible'
import './assets/reset.min.css'
import { createApp } from 'vue'
import App from './App.vue'
import pinia from './store/store'
import router from './router/index'
import { Lazyload } from 'vant';
import { handleMaxWidth } from './assets/utils'
// 处理最大宽度
handleMaxWidth()
window.addEventListener('resize', handleMaxWidth)
const app = createApp(App)
app.use(pinia)
app.use(Lazyload);
app.use(router)
app.mount('#app')